modelBuilder.Entity<Grade>() .HasMany<Student>(g => g.Students) .WithRequired(s => s.CurrentGrade) .WillCascadeOnDelete();